/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ub.informatica.disseny.movieaff.modelo;

/**
 *
 * @author mat.aules
 */
public class Valoracion {
    
    private String id;
    private String client;
    private String film;
    private String puntuacio;
    private String data;

  public  Valoracion(String id, String client, String film, String puntuacio, String data) {
        this.id = id;
        this.client = client;
        this.film = film;
        this.puntuacio = puntuacio;
        this.data = data;

    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the client
     */
    public String getClient() {
        return client;
    }

    /**
     * @param client the client to set
     */
    public void setClient(String client) {
        this.client = client;
    }

    /**
     * @return the film
     */
    public String getFilm() {
        return film;
    }

    /**
     * @param film the film to set
     */
    public void setFilm(String film) {
        this.film = film;
    }

    /**
     * @return the puntuacio
     */
    public String getPuntuacio() {
        return puntuacio;
    }

    /**
     * @param puntuacio the puntuacio to set
     */
    public void setPuntuacio(String puntuacio) {
        this.puntuacio = puntuacio;
    }

    /**
     * @return the data
     */
    public String getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(String data) {
        this.data = data;
    }
    
    
    @Override
    public String toString(){
        return ("\nValoracio amb ID: " + getId() + "--------------------------------------" +
                "\nClient: " + getClient() + "\nFilm: " + getFilm() + "\nPuntuacio: " + getPuntuacio() +
                "\nData: " + getData());
    }
    
    
    
    
}
